package com.example.demo.common;

/**
 * @ Description：TODO 定义返回状态
 * @ Author：wzj
 * @ Date：2018/12/16 10:29
 */
public enum ReStateEnum {
    SUCCESS(1),ERROR(0);

    private int code;

    ReStateEnum(int code){
        this.code=code;
    }

    @Override
    public String toString() {
        return String.valueOf(this.code);
    }
}
